Publisher version (open access) of A bio-logical theory of animal learning